/*
Copyright (c) 2010 Andreas Bjerkeholt
License: MIT
http://www.opensource.org/licenses/mit-license.php
*/
#ifdef SDL
#include "controller_sdl.h"

// FIXME: stubs
bool controlInit()
{
	return false;
}

void controlUnload()
{
}

void controlUpdate()
{
	Uint8 *keystates = SDL_GetKeyState(NULL);

	// Copy keystates to our own struct to support previous keystate
}

bool controlJustPressed(Uint32 inControl)
{
	return false;
}

bool controlJustReleased(Uint32 inControl)
{
	return false;
}

bool controlPressed(Uint32 inControl)
{
	return false;
}

bool controlReleased(Uint32 inControl)
{
	return !controlPressed(inControl);
}

bool controlRepeat(Uint32 inControl)
{
	return false;
}

#endif
